﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using SLSYJ.Core;
using SLSYJ.Controllers.Helpers;

namespace SLSYJ.Controllers.DTOs
{
    public class BankDTO
    {
        public BankDTO()
        {
        }

        [RequiredIf("DTO_EmployeeBank_AccountNumber", Comparison.IsNotEqualTo, "")]
        [Display(Name = "Nombre")]
        public string Name { get; set; }

        [RequiredIf("DTO_EmployeeBank_Name", Comparison.IsNotEqualTo, "")]
        [Display(Name = "Nro. Cuenta")]
        public string AccountNumber { get; set; }

        [Display(Name = "Nro. CBU")]
        public string CBUNumber { get; set; }
    }
}
